﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace Framework.Domain.Interface.DomainObject.UnitOfWork
{
    public interface IAppUnitOfWork
    {

        int SaveChanges();


        DbSet<TEntity> CreateSet<TEntity>() where TEntity : class;

        void AttachRemove<TEntity>(TEntity item) where TEntity : class;

    }
}
